<h2 class="ico_settings">Valulots Custom Shipping Configuration</h2>
<br/>

<table cellpadding="5">
    <tr>
        <td valign="top">
            <form action="" method="post" >
                <h4>Select province:</h4>
                <select name="province" class="long" onchange="document.forms[0].submit()">
                    <option value="mb" {{if $vl_config->province=="mb"}}selected{{/if}}>Manitoba</option>
                    <option value="nv" {{if $vl_config->province=="nv"}}selected{{/if}}>Nunavut</option>
                </select>
                <fieldset>
                    <legend>Shipping Rates</legend>
                    <table id="table" style="width: 260px">
                        <tr class="table_row" >
                            <td>
                                <strong> Per Item:</strong>
                            </td>
                            <td align="right">
                                <input type="text" name="per_item" value="{{$vl_config->per_item}}" />
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <strong>Per weight :</strong> <br/>
                                <table id="table" style="border: none;">
                                    <tr class="table_row" >
                                        <td>
                                            &nbsp;&nbsp;&nbsp;&nbsp;Perishable:
                                        </td>
                                        <td align="right">
                                            <input type="text" name="perishable" value="{{$vl_config->perishable}}"  />
                                        </td>
                                    </tr>
                                    <tr class="table_row">
                                        <td>
                                            &nbsp;&nbsp;&nbsp;&nbsp;Non-perishable:
                                        </td>
                                        <td align="right">
                                            <input type="text" name="non_perishable" value="{{$vl_config->non_perishable}}" />
                                        </td>
                                    <tr class="table_row">
                                        <td>
                                            &nbsp;&nbsp;&nbsp;&nbsp;Non-food item:
                                        </td>

                                        <td align="right">
                                            <input type="text" name="non_food_item" value="{{$vl_config->non_food_item}}"  />
                                        </td>
                                    </tr>
                                    <tr class="table_row">
                                        <td>
                                            &nbsp;&nbsp;&nbsp;&nbsp;Non-food mail:
                                        </td>

                                        <td align="right">
                                            <input type="text" name="non_food_mail" value="{{$vl_config->non_food_mail}}"  />
                                        </td>
                                    </tr>
                                </table>

                            </td>
                        </tr>
                        {{if $vl_config->province=="mb"}}
                        <tr class="table_row" >
                            <td>
                                <strong> Winnipeg Flat rate:</strong>
                            </td>
                            <td align="right">
                                <input type="text" name="winnipeg" value="{{$vl_config->winnipeg}}"  />
                            </td>
                        </tr>
                        {{/if}}
                        <tr>
                            <td colspan="2" align="center">
                                <input type="submit" name="update" value="Update"/>
                            </td>
                        </tr>
                    </table>
                </fieldset>
            </form>

        </td>
        

        
    </tr>
</table>


